//---------------------------------------------------------------------------

#ifndef unCCTVOpHolderH
#define unCCTVOpHolderH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "AdvSmoothComboBox.hpp"
#include "AdvSmoothListBox.hpp"
#include "AdvGrid.hpp"
#include "AdvObj.hpp"
#include "BaseGrid.hpp"
#include <Grids.hpp>
class TFrm_CCTVState;
class TFrm_CCTVDisplay;
//---------------------------------------------------------------------------
class TFrm_CCTVOpHolder : public TForm
{
__published:	// IDE-managed Components
    TAdvSmoothComboBox *comboOpCommand;
    TAdvSmoothComboBox *comboOpCommandParam;
    TAdvStringGrid *sgParameter;
    TButton *btnSendOp;
    void __fastcall btnSendOpClick(TObject *Sender);
    void __fastcall comboOpCommandItemChanged(TObject *Sender,
          int itemindex);
    void __fastcall comboOpCommandParamItemChanged(TObject *Sender,
          int itemindex);
private:	// User declarations
    TFrm_CCTVState* mStateFrm;
    TFrm_CCTVDisplay* mDisplayFrm;
public:		// User declarations
    __fastcall TFrm_CCTVOpHolder(TComponent* Owner);
    inline void __fastcall SetDisplayFrm(TFrm_CCTVDisplay* aParentFrm)
    {
        mDisplayFrm = aParentFrm;
    }
    inline void __fastcall SetStateFrm(TFrm_CCTVState* aParentFrm)
    {
        mStateFrm = aParentFrm;
    }
};
//---------------------------------------------------------------------------
extern PACKAGE TFrm_CCTVOpHolder *Frm_CCTVOpHolder;
//---------------------------------------------------------------------------
#endif
